package com.gupao.springbootmybatis.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("用户查询请求对象")
public class User {

    @ApiModelProperty(notes = "主键ID")
    private int id;

    @ApiModelProperty(notes = "用户名称")
    private String username;

    @ApiModelProperty(notes = "名称")
    private String password;


    private String number;


    @ApiModelProperty(notes = "用户状态")
    private Integer userStatus;

    public User() {
    }

    public User(int id, String username) {
        this.id = id;
        this.username = username;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNum() {
        return number;
    }

    public void setNum(String number) {
        this.number = number;
    }

    public Integer getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(Integer userStatus) {
        this.userStatus = userStatus;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", num='" + number + '\'' +
                ", userStatus=" + userStatus +
                '}';
    }
}
